import request from '@/utils/request'
// -------- 员工管理 --------

let BASE_ADDRESS = '/work/verifyDoc'

// 新增 add 员工
export const getContentReviewApi = (params) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: 'get',
        params
    })
}
// 查询审核意见
export const getDetailApi = (params) => {
    return request({
        url: `/work/verifyOpinion/getByVerify`,
        method: 'get',
        params
    })
}
// 添加 审核意见
export const addOpinionApi = (data) => {
    return request({
        url: `/work/verifyOpinion/add`,
        method: 'post',
        data
    })
}
// 修改审核意见
export const editOpinionApi = (data) => {
    return request({
        url: `/work/verifyOpinion/edit`,
        method: 'put',
        data
    })
}

// 修改审核状态
export const editOpinionStatusApi = (data) => {
    return request({
        url: `/work/verifyDoc/edit`,
        method: 'put',
        data
    })
}

// 根据id查询四大类的详细审核
export const searchReviewByIdApi = (params) => {
    return request({
        url: `/work/doc/selectEsId`,
        method: 'get',
        params
    })
}
// docId查询
export const getVerifyDocInfoDocIdApi = (params) => {
    return request({
        url: `/work/verifyDoc/infoDocId`,
        method: 'get',
        params
    })
}

// 标签id查询
export const getVerifyDocgetMakeApi = (params) => {
    return request({
        url: `${BASE_ADDRESS}/getMake`,
        method: 'get',
        params
    })
}